//
//  CTMediator+ElectronicBusiness.m
//  KBMediator_Catrgories
//
//  Created by JunpuChen on 2017/8/1.
//  Copyright © 2017年 kuaibao. All rights reserved.
//

#import "CTMediator+ElectronicBusiness.h"

NSString * const kCTMediatorTargetElectronicBusiness = @"ElectronicBusiness";

NSString * const kCTMediatorActionMyMerchantController = @"myMerchantController";
NSString * const kCTMediatorActionWaitSignAgreementController = @"waitSignAgreementController";
NSString * const kCTMediatorActionWaitCancelAgreementController = @"waitCancelAgreementController";

@implementation CTMediator (ElectronicBusiness)

- (UIViewController *)ElectronicBusiness_myMerchantController {
    return [self performTarget:kCTMediatorTargetElectronicBusiness action:kCTMediatorActionMyMerchantController params:nil shouldCacheTarget:NO];
}

- (UIViewController *)ElectronicBusiness_waitSignAgreementController:(NSDictionary *)params {
    return [self performTarget:kCTMediatorTargetElectronicBusiness action:kCTMediatorActionWaitSignAgreementController params:params shouldCacheTarget:NO];
}

- (UIViewController *)ElectronicBusiness_waitCancelAgreementController:(NSDictionary *)params {
    return [self performTarget:kCTMediatorTargetElectronicBusiness action:kCTMediatorActionWaitCancelAgreementController params:params shouldCacheTarget:NO];
}

@end
